package com.liaowei.post.model.param;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class SaveSpecialColumnParam {
    @NotBlank(message = "专栏名称不能为空")
    private String name; // 专栏名称
    private String coverImage; // 封面图片
    @NotNull(message = "创建人不能为空")
    @Min(value = 1,message = "请输入合法创建人")
    private Long createBy; // 创建人
}
